<!DOCTYPE html>
<html>
<head>
    <title>skd_job_dtl</title>
<#include "/sys/newheader.html"/>
    <style>
        .ztree{
            margin-left:30px;
        }
    </style>
</head>
<body>
<div id="rrapp" class="main-content">
    <div class="box box-main">
        <div class="box-header">
            <div class="box-title">
                <i class="fa fa-navicon"></i> 任务明细管理
            </div>
            <div class="box-tools pull-right">
                <a href="javascript:void(0);" class="btn btn-default" id="btnSearch" title="查询" @click="toggle"><i class="fa fa-filter"></i> {{btnText}}</a>
                <a class="btn btn-default"  href="javascript:void(0);" @click="addWorkSubject"><i class="fa fa-list"></i> 添加作业</a>
                <a href="javascript:void(0);" class="btn btn-default" id="btnUpdateSort" title="保存执行顺序" @click="updateSort"><i class="fa fa-sort-amount-asc"></i> 保存执行顺序</a>
                <button type="button" class="btn btn-warning" @click="back"><i class="fa fa-backward"></i> 返回</button>
            </div>
        </div>

        <div class="box-body">
            <div class="form-inline" v-show="isShowCond">
                <div class="form-group">
                    <button type="submit" class="btn btn-primary btn-sm" @click="query">查询</button>
                    <button type="reset" class="btn btn-default btn-sm" @click="reset">重置</button>
                </div>
            </div>
            <table id="jqGrid"></table>
            <div id="jqGridPager"></div>
        </div>
    </div>
    <!-- 选择菜单 -->
    <div id="workItemLayer" style="padding:10px;display: none">
        <div class="treeSearchInput"  >
                <label >名称</label>
                    <input type="text" class="empty"   v-model="searchName" placeholder="名称" @keyup="autoMatch"/>
        </div>
        <div class="treeExpandCollapse" style="">
            <a href="javascript:" onclick="ztree.expandAll(true)">展开</a> /
            <a href="javascript:" onclick="ztree.expandAll(false)">折叠</a>
        </div>
        <ul id="workItemTree" class="ztree treeselect" ></ul>
    </div>
</div>



<script src="${base}/js/skd/scheduleJobDtlTree.js?_${.now?string['yyyyMMddhhmmSS']}"></script>
</body>
</html>
